<%@ page
    contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"

%><!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>Test</title>

<style>
</style>

<script type="text/javascript" src="./js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="./js/parseuri.js"></script>
<script type="text/javascript">
var allowAlertPermission = function() {
    if(window.webkitNotifications){
        if(window.webkitNotifications.checkPermission()!==0){
            window.webkitNotifications.requestPermission();
        } else {
            /*
	        window.webkitNotifications.createNotification(
	        "",
	        'hogeTitle',
	        '<a href="hoge">aaa</a>'
	        ).show();
	        */
	        window.webkitNotifications.createHTMLNotification("http://suika.fam.cx/~wakaba/wiki/sw/n/DOMString");
	    }
    }
};
</script>


</head>
<body>
<div id="container">

<div id="voiceList"><a href="#" onclick="allowAlertPermission();">allow</a></div>

</div>
</body>
</html>